package com.woniu.communitymanagement.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 楼宇表
 * @TableName building
 */
@TableName(value ="building")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Building implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 楼号
     */
    @TableField(value = "numbers")
    private String numbers;

    /**
     * 单元
     */
    @TableField(value = "uints")
    private String uints;

    /**
     * 备注
     */
    @TableField(value = "remarks")
    private String remarks;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}